<?php 
include "../../config/ini.php";

//if($_SESSION["USER"] == NULL){
	//if(isset($_POST['username']))
		C_User::login($_POST['username'], $_POST['password']);
//}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="www.w3.org/1999/xhtml/index.html">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>KScrum</title>

<link rel="icon" href="favicon.ico" />
<link rel="shortcut icon" href="favicon.ico" />

<script type="text/javascript" src="<?=SITE?>files/js/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="<?=SITE?>files/js/jquery.validate.js"></script>
<script type="text/javascript" src="<?=SITE?>files/js/jquery.datePicker.js"></script>
<script type="text/javascript" src="<?=SITE?>files/js/date.js"></script>
<!--[if IE]><script type="text/javascript" src="<?=SITE?>files/js/jquery.bgiframe.js"></script><![endif]-->
<script type="text/javascript" src="<?=SITE?>files/js/tabber-minimized.js"></script>
    
<link rel="stylesheet" href="<?=SITE?>files/css/reset.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?=SITE?>files/css/main.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?=SITE?>files/css/tabber.css" type="text/css" media="screen"/>
<link rel="stylesheet" href="<?=SITE?>files/css/datePicker.css" type="text/css" media="screen"/>
<!--[if lt IE 7]>
<link rel="stylesheet" href="<?=SITE?>files/ie6/ie6.css" type="text/css" media="screen"/>
<![endif]--> 

<!--[if lt IE 8]>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js"
type="text/javascript"></script>
<![endif]-->


	<script type="text/javascript">
    
    $(document).ready(function(){
   
    $(".broom_form").validate();//validates any form with class="broom_form"
	$('.date-pick').datePicker({startDate:'01/01/1996'});//initiates datepicker, in this case with a begin date of 01/01/1996; earlier dates cannot be selected
	$("a.close").click(function(){   $(this).parent().slideUp(); return false;});  //links with class 'close' close parent div

    });
    
    </script>
</head>

<body id="b_main">

<div id="header">
    <div id="logo">
    <h1 id="header_broomcupboard"><a href="#">Kscrum</a></h1> 
    <ul id="welcome">
        <li><a href="#">Settings</a></li>
        <li><a href="2.html">Lights Out</a></li>
        <li>Welcome <strong>Administrator</strong></li>
        <li id="last">Last Login: 10 October 2008</li>
    </ul>
    </div>
</div>
    
<div id="wrapper">
	<div id="spacer">
	<div id="content">
        <div class="tabber">
		<div class="tabbertab">
            <h2>Dashboard</h2>
            <div class="container1">
            	
       	    </div>
        </div>
        <div class="tabbertab tabbertabdefault">
            <h2>Usuários</h2>
            <div class="container1">
            	<pre>
            	<?php 
				print_r($_SESSION["USER"]);
            	?>
            	</pre>
       	    </div>
        </div>
        </div>
    </div>
    
    <ul id="footer">
        <li>Copyright &copy; 2008/2009 <a href="#">Broom Cupboard</a></li>
        <li><a href="../../../jigsaw.w3.org/css-validator/check/referercaf9.html?profile=css3">CSS</a> </li>
        <li><a href="../../../validator.w3.org/checkbb5d.html?uri=referer">XHTML</a></li>
        <li><a href="#">top</a></li>
    </ul><!--/end #footer-->
	</div>

</div>
<div class="clear"></div>
</body>
</html>
